package cn.tedu.property_management_system.ex;

import cn.tedu.property_management_system.utils.JsonResult;


public class ServiceException extends RuntimeException{
    JsonResult.State state;

    public ServiceException(JsonResult.State state,String message) {
        super(message);
        this.state=state;
    }
    public JsonResult.State getState() {
        return state;
    }

    public void setState(JsonResult.State state) {
        this.state = state;
    }
}
